﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace QLTV.Forms.KeHoach
{
    public partial class frmCourseList : DevExpress.XtraEditors.XtraForm
    {
        public frmCourseList()
        {
            InitializeComponent();
        }

        private void frmCourseList_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dsTraining.tblTrainingCourse' table. You can move, or remove it, as needed.
            this.tblTrainingCourseTableAdapter.Fill(this.dsTraining.tblTrainingCourse);

        }

        public DateTime CreatedDate
        {
            get;
            set;
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            //QLTV.Reports.rptTrainingCrewCourse r = new Reports.rptTrainingCrewCourse();
            //r.CreatedDate = this.CreatedDate;
            //r.CourseId = int.Parse(this.listBoxControl1.SelectedValue.ToString());
            //r.CourseName = this.listBoxControl1.Text;
            //r.ShowPreview();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}